MailPoet\Config\Hooks S

Total Complexity 33
Dependencies 18
Dependents 3
Total lines 516
Lines of code 393
Logical lines of code 107
Comment lines 36
Methods 23
Properties 16

Methods 23

Method Rating Maintainability Complexity Lines of code
setupSubscriptionEvents()
A
37 7 99
setupWPUsers()
S
48 1 48
setupWooCommerceSubscriptionEvents()
S
56 2 21
setupWooCommerceUsers()
S
53 1 32
setupWoocommerceSystemInfo()
S
57 1 23
setupWooCommerceSettings()
S
58 1 19
__construct()
S
56 1 18
init()
S
58 1 18
setFooter()
S
70 2 6
setupFooter()
S
65 2 10
setScreenOption()
S
69 2 7
setupWooCommercePurchases()
S
62 1 14
setupMailer()
S
62 1 14
setupWooCommerceSubscriberEngagement()
S
65 1 11
setupWooCommerceTracking()
S
70 1 7
setupListing()
S
70 1 7
setupAutomateWooSubscriptionEvents()
S
82 1 3
setupPostNotifications()
S
70 1 7
initEarlyHooks()
S
82 1 3
setupSettingsLinkInPluginPage()
S
71 1 6
setSettingsLinkInPluginPage()
S
68 1 6
setupChangeNotifications()
S
72 1 6
setupLicenseProvisioning()
S
68 1 8